package sdk.org.apache.shiro.G2_使用.C07_1Web集成_登录和退出;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

import com.titan.common.v8.register.VersionUtils;


@SpringBootApplication
@ComponentScan({ "sdk.org.apache.shiro.G2_使用.C07_1Web集成_登录和退出.AppConfig"
               , "sdk.org.apache.shiro.G2_使用.C07_1Web集成_登录和退出.services"
               , "com.titan.common.v8"
               })
public class Application {
	public static void main(String[] args) {
	    ConfigurableApplicationContext context = new SpringApplicationBuilder()
            .bannerMode(Banner.Mode.OFF)
            .sources(Application.class)
            .web(true)
            .run(new String[]{
                    "--debug=false"
                  , "--server.port=9999"
            });
	}
}
